<#macro dateFormatter date formatter="yyyy-MM-dd HH:mm:ss">
    <#if date??>
    ${date?string(formatter)}
    </#if>
</#macro>

<#macro dateFormatter4Short date formatter="yyyy-MM-dd">
    <#if date??>
    ${date?string(formatter)}
    </#if>
</#macro>

<#macro htmlCopyright>
<div class="pull-right hidden-xs hide" style="padding-right: 30px;">
    <b>Version</b> 2.1
</div>
</#macro>

<#macro htmlResourceBusinessType type="">
    <#if type == "META">
    <span>元数据</span>
    <#elseif type == "WEB">
    <span>Web</span>
    <#elseif type == "DV">
    <span>虚拟数据库</span>
    <#else>
    <span>数据标准</span>
    </#if>
</#macro>